using Opc.Ua;

namespace HslCommunicationEx.OpcUa
{
	public class FilterConfiguration
	{
		private uint m_SeverityMin;

		private uint m_SeverityMax;

		private NodeIdCollection m_EventTypes;

		public uint SeverityMin
		{
			get
			{
				return this.m_SeverityMin;
			}
			set
			{
				this.m_SeverityMin = value;
			}
		}

		public uint SeverityMax
		{
			get
			{
				return this.m_SeverityMax;
			}
			set
			{
				this.m_SeverityMax = value;
			}
		}

		public NodeIdCollection EventTypes
		{
			get
			{
				return this.m_EventTypes;
			}
			set
			{
				this.m_EventTypes = value;
			}
		}

		public FilterConfiguration()
		{
			this.m_SeverityMin = 1u;
			this.m_SeverityMax = 1000u;
			this.m_EventTypes = new NodeIdCollection();
			this.m_EventTypes.Add(new NodeId(ObjectTypeIds.BaseEventType));
		}
	}
}
